# -*- coding: utf-8 -*-
# python2

t = range(10)
print(t)

t2 = xrange(10)
print(type(t2))

for i in t2:
    print i